package com.qqtech.qquan.im.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class ImMessageBody extends BaseDomain{

	/**
	 * "type":"消息体类型，包括，0.Text(文本),1.Image(图片),2.Location(位置),3.Voice(语音),4.Video(视频),5.File(文件)",
	 * "text（type为0）": "消息内容",
	 * "remotePath": "（type为1）大图remote路径（type为3）音频remote路径（type为4）视频remote路径（type为5）文件remote路径",
	 * "localPath": "（type为1）大图local路径（type为3）音频local路径（type为4）视频local路径（type为5）文件local路径",
	 * "thumbnailRemotePath": "（type为1）小图remote路径（type为4）第一帧缩略图remote路径（type为4）第一帧缩略图local路径",
	 * "thumbnailLocalPath": "（type为1）小图local路径",
	 * "latitude": "（type为2）纬度",
	 * "longitude": "（type为2）经度",
	 * "address": "（type为2）地址",
	 * "fileLength": "（type为3）音频文件大小（type为4）视频文件大小（type为5）文件大小",
	 * "duration":"（type为3）音频的时间长度"（type为4）视频的时间长度
	 */
	private java.lang.Integer type;
	private java.lang.String text;
	private java.lang.String remotePath;
	private java.lang.String localPath;
	private java.lang.String thumbnailRemotePath;
	private java.lang.String thumbnailLocalPath;
	private java.lang.String latitude;
	public java.lang.String getLongitude() {
		return longitude;
	}

	public void setLongitude(java.lang.String longitude) {
		this.longitude = longitude;
	}

	public java.lang.String getAddress() {
		return address;
	}

	public void setAddress(java.lang.String address) {
		this.address = address;
	}

	public java.lang.Integer getFileLength() {
		return fileLength;
	}

	public void setFileLength(java.lang.Integer fileLength) {
		this.fileLength = fileLength;
	}

	public java.lang.Integer getDuration() {
		return duration;
	}

	public void setDuration(java.lang.Integer duration) {
		this.duration = duration;
	}

	private java.lang.String longitude;
	private java.lang.String address;
	private java.lang.Integer fileLength;
	private java.lang.Integer duration;
	
	public ImMessageBody(){
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public java.lang.Integer getType() {
		return type;
	}

	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	public java.lang.String getText() {
		return text;
	}

	public void setText(java.lang.String text) {
		this.text = text;
	}

	public java.lang.String getRemotePath() {
		return remotePath;
	}

	public void setRemotePath(java.lang.String remotePath) {
		this.remotePath = remotePath;
	}

	public java.lang.String getLocalPath() {
		return localPath;
	}

	public void setLocalPath(java.lang.String localPath) {
		this.localPath = localPath;
	}

	public java.lang.String getThumbnailRemotePath() {
		return thumbnailRemotePath;
	}

	public void setThumbnailRemotePath(java.lang.String thumbnailRemotePath) {
		this.thumbnailRemotePath = thumbnailRemotePath;
	}

	public java.lang.String getThumbnailLocalPath() {
		return thumbnailLocalPath;
	}

	public void setThumbnailLocalPath(java.lang.String thumbnailLocalPath) {
		this.thumbnailLocalPath = thumbnailLocalPath;
	}

	public java.lang.String getLatitude() {
		return latitude;
	}

	public void setLatitude(java.lang.String latitude) {
		this.latitude = latitude;
	}
}

